package com.soulgame;

import android.app.Application;
import android.content.Context;
import android.content.res.Configuration;

import com.duoku.platform.single.DKPlatform;
import com.soul.sdk.common.IApplicationListener;
import com.soul.sdk.utils.SGDebug;

/**
 * @author lch
 * @version Create time：2017-1-3 类说明:
 */
public class ApplicationProxy implements IApplicationListener {

	@Override
	public void onProxyAttachBaseContext(Application pApplication, Context base) {

		SGDebug.print_i("*********baidu onProxyAttachBaseContext*********");
	}

	@Override
	public void onProxyCreate(Application pApplication) {
		// SGDebug.print_i("*********onProxyCreate*********");
		// 百度账号(本来要求在 Application里执行的)
		DKPlatform.getInstance().invokeBDInitApplication(pApplication);
	}

	@Override
	public void onProxyConfigurationChanged(Application pApplication, Configuration newConfig) {
	}

	@Override
	public void onProxyTerminate(Application pApplication) {

	}

	@Override
	public void onProxyLowMemory(Application pApplication) {

	}

}
